home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / serien / purity / nr.13 / kickpascal-programme / amigapascal / readme < prev    next >
Text File  |  1995-04-22  |  4KB  |  71 lines

  1.    **********************************
  2.    **                              **
  3.    **       Amiga-Pascal 1.0       **
  4.    **                              **
  5.    **    designed in March 1993    **
  6.    **                              **
  7.    **       by Daniel Amor         **
  8.    **                              **
  9.    **********************************
  10.  
  11.    Welcome to Amiga-Pascal,
  12.  
  13.    after studying a while at university, I thought that I should do some
  14.    practice work instead of all that theory there. That's why I started
  15.    programming a Pascal-Compiler (that's what we're supposed to do here
  16.    anyway). I know that there are already quite a few Pascal-Compiler
  17.    available for the AMIGA, but since competition is good for the 
  18.    consumer, I entered this competition (I hope that this will spur on
  19.    the other programmer of Pascal-Compiler). I've written this Pascal-
  20.    Compiler in KICK-PASCAL (seems like the old problem with the hen and
  21.    the egg). KICK-PASCAL is a really good compiler, with a lot of 
  22.    functions in order to make it userfriendly, but unfortunately it does
  23.    not create optimized code. That's the actual reason for making this
  24.    compiler. For little projects it's quite unnecessary to have a 
  25.    startup-code with over 4 KB (opening the dos.library is all you need).
  26.    I won't go into detail how to program PASCAL. If you'd like to know,
  27.    which functions and procedures this Compiler understands then please
  28.    look at the example-file. 
  29.  
  30.    Here's a list with all the keywords: PROGRAM, VAR, INTEGER, BEGIN, 
  31.    END, WHILE, DO BEGIN, :=, +,-, *, /. Be careful with divisions, since
  32.    there is no check if it's a division by zero (Guru's awaiting you).
  33.  
  34.    If you'd like to compile a program of your own or the example file,
  35.    you have to do the following things. First of all, you have to 
  36.    translate the pascal-code into assembler, then the object-code must
  37.    be created and then it has to be linked. All necessary files are in 
  38.    this directory.
  39.  
  40.    If you'd like to compile the example-file, you'd have to key in:
  41.  
  42.    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  43.    + Amiga-Pascal Examples/Example1       (pascal->assembler)      +
  44.    + A68k Examples/Example1.s             (assembler->object-code) +
  45.    + BLINK Examples/Example1.o TO Examples/Example.exe             +
  46.    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  47.  
  48.    Please notify, if you're interested in future versions of this 
  49.    program. Then I'll introduce a workbench interface, the complete 
  50.    range of standard-pascal, an editor, better docs etc.
  51.  
  52.    See you,
  53.  
  54.    Danny
  55.  
  56.  
  57.    ********************************************************************
  58.    **                                                                **
  59.    **                    You may write to us in                      **
  60.    ** Ceský, Deutsch, English, Français, Hrvatski, Italiano, Russkij.**
  61.    **                                                                **
  62.    **  Snail Mail: Daniel Amor                                       **
  63.    **              Ludwigstr. 124                                    **
  64.    **              7000 Stuttgart 1                                  **
  65.    **              Germany                                           **
  66.    **                                                                **
  67.    **  E-Mail:     amor@student.uni-tuebingen.de                     **
  68.    **  FidoNet:    2:2407/106 (Intuition Base)                       **
  69.    **                                                                **
  70.    ********************************************************************
  71.